import request from '@/utils/request'
//登录
export const loginServer=(loginDTO)=>{
    return request.post('/user/login',loginDTO)
}

//获取用户信息
export const getUserInfoServer=()=>{
    return request.get('/user/info')
}
//登出
export const logoutServer=()=>{
    return request.post('/user/logout')
}